package com.baseframe.chat.service;

import com.baseframe.chat.entity.SnsChatUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baseframe.chat.entity.WebsocketMessage;
import com.baseframe.chat.entity.vo.SnsChatUserVO;

import java.util.List;

/**

* @description 针对表【sns_chat_user(用户私聊表)】的数据库操作Service
* @createDate 2023-07-12 03:54:03
*/
public interface SnsChatUserService extends IService<SnsChatUser> {


    public List<SnsChatUserVO> getUserChatRecords(Long senderUserId,Long receiverUserId);

    public boolean saveChatRecord(WebsocketMessage websocketMessage);

}
